package com.flyco.modules.stm.service.impl;

import com.flyco.modules.stm.entity.StmStoreMessageRead;
import com.flyco.modules.stm.mapper.StmStoreMessageReadMapper;
import com.flyco.modules.stm.service.IStmStoreMessageReadService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 用户通知已读标记表
 * @Author: flyco
 * @Date:   2022-10-09
 * @Version: V1.0
 */
@Service
public class StmStoreMessageReadServiceImpl extends ServiceImpl<StmStoreMessageReadMapper, StmStoreMessageRead> implements IStmStoreMessageReadService {
	
	@Autowired
	private StmStoreMessageReadMapper stmStoreMessageReadMapper;
	
	@Override
	public List<StmStoreMessageRead> selectByMainId(Long mainId) {
		return stmStoreMessageReadMapper.selectByMainId(mainId);
	}
}
